<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>order</title>
    <link href="/css/bootstrap.css" rel='stylesheet' type='text/css' />
    <link href="/css/orders.css" rel='stylesheet' type='text/css' />
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <!-- Custom Theme files -->
    <link href="/css/style.css" rel='stylesheet' type='text/css' />
    <!-- Custom Theme files -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Hotel Deluxe Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <!--webfont-->
    <link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    <script type="text/javascript" src="/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="/js/login.js"></script>
    <script src="/js/jquery.easydropdown.js"></script>
    <script src="/js/jquery-1.11.1.min.js"></script>
    <!--Animation-->
    <script src="/js/wow.min.js"></script>
    <link href="/css/animate.css" rel='stylesheet' type='text/css' />
    <script>
        new WOW().init();
    </script>
    <style>
        table,thead,th,td{
            color:darkslategray;
        }
    </style>
</head>
<body>
<div class="content_middle">
    <div class="container_wrap">
        <h2 class="title block-title" style="padding-top: 2em;">酒店</h2>
        <table border="2"style="text-align: center;margin: auto" >
            <thead>
            <!--<th>用户ID</th>-->
            <!--<th>用户名</th>-->
            <!--<th>密码</th>-->
            <!--<th>昵称</th>-->
            <!--<th>电话号码</th>-->
            <!--<th>性别</th>-->
            <!--<th>城市</th>-->
            <!--<th>是否删除</th>-->
            <!--<th>修改密码</th>-->
            <!--<br>-->
            </thead>
            <tbody>
            <tr th:each="hotel: ${hotels}">
                <td th:text="${hotel.getHotelId()}"></td>
                <td th:text="${hotel.getHotelLocation()}"></td>
                <td th:text="${hotel.getHotelLevel()}"></td>
                <td th:text="${hotel.getHotelName()}"></td>
                <td th:text="${hotel.getHotelTel()}"></td>
                <!--<td th:text="${hotel.getHotelLatitude()}"></td>-->
                <!--<td th:text="${hotel.getHotelLongtitude()}"></td>-->
                <!--<td th:text="${hotel.getHotelPrice()}"></td>-->
                <!--<td th:text="${hotel.getHotelLeftRoomCount()}"></td>-->
                <!--<td th:text="${hotel.getHotelDesc()}"></td>-->
                <!--<td th:text="${hotel.getHotelPic()}"></td>-->
                <!--<td th:text="${hotel.getHotelPhoto1()}"></td>-->
                <!--<td th:text="${hotel.getHotelPhoto2()}"></td>-->
                <!--<td th:text="${hotel.getHotelPhoto3()}"></td>-->
                <!--<td th:text="${hotel.getHotelPhoto4()}"></td>-->


                <td><a th:href="'/hotel/edit?hotelId=' + ${hotel.hotelId}">修改</a></td>
                <td><a th:href="'/hotel/delete?hotelId=' + ${hotel.hotelId}">删除</a></td>
            </tr>
            </tbody>
        </table>
        <div class="form-submit1">
            <a th:href="@{/addHotel.html}"><input name="addHotel"  type="button"  value="增加酒店"></a>
            <a href="/"><input name="register"  type="button"  value="返回首页"></a>
        </div>
        <h2 class="title block-title" style="padding-top: 4em">MY ORDER END</h2>
        <h1>&nbsp;</h1><h1>&nbsp;</h1><h1>&nbsp;</h1><h1>&nbsp;</h1><h1>&nbsp;</h1><h1>&nbsp;</h1><h1>&nbsp;</h1><h1>&nbsp;</h1><h1>&nbsp;</h1>
    </div>
</div>
<div class="footer">
    <div class="container"></div>
    <div class="footer_top">
        <h3>&nbsp;</h3>
        <h3>四川大学酒店订购系统</h3>
        <h3>Team 22</h3>
    </div>
</div>
</body>
</html>